#pragma once

#include "Common.h"
#include "VertexBuffer.h"

class IndexBuffer
{
public:
	IndexBuffer();
	~IndexBuffer();
public:
	void SetData(void* data, unsigned int sizeInBytes, BufferUsage bufferUsage = BUFFERUSAGE_StaticDraw);
public:
	const unsigned int GetID() const;
	const unsigned int GetElementCount() const;
	const unsigned int GetSizeInBytes() const;
private:
	unsigned int m_nID;
	unsigned int m_nElementCount;
	unsigned int m_nSizeInBytes;
};